package com.nfit.shopmodel.vo.product;

import com.alibaba.fastjson2.JSONArray;
import com.nfit.shopmodel.entity.product.ProductDetails;
import com.nfit.shopmodel.entity.product.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * ClassName:ProductDetails
 * Package:com.nfit.shopmodel.vo.product
 * Description
 *
 * @Author L
 * @Create 2024/12/26 9:37
 */
@Schema(description = "移动端商品详情")
@Data
public class ProductDetailsVo {

    @Schema(description = "商品id")
    private Long productId;

    @Schema(description = "商品名称")
    private String name;					// 商品名称

    @Schema(description = "轮播图url")
    private String sliderUrls;				// 轮播图

    @Schema(description = "商品规格值json串")
    private JSONArray specList;				// 商品规格值json串

    /**扩展属性*/
    @Schema(description = "商品详情图片")
    private String productDetails;

    @Schema(description = "商品sku")
    private List<ProductSkuVo> productSku;

    @Schema(description = "同类商品推荐数据集合")
    private List<ProductVo> similarRecommendList;
}
